package com.nanhai.buddhist.college.module.study.convert.teacherevaluation;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.study.controller.admin.teacherevaluation.vo.*;
import com.nanhai.buddhist.college.module.study.dal.dataobject.teacherevaluation.TeacherEvaluationDO;

/**
 * 教师评价 Convert
 *
 * @author 南海佛学院
 */
@Mapper
public interface TeacherEvaluationConvert {

    TeacherEvaluationConvert INSTANCE = Mappers.getMapper(TeacherEvaluationConvert.class);

    TeacherEvaluationDO convert(TeacherEvaluationCreateReqVO bean);

    TeacherEvaluationDO convert(TeacherEvaluationUpdateReqVO bean);

    TeacherEvaluationRespVO convert(TeacherEvaluationDO bean);

    List<TeacherEvaluationRespVO> convertList(List<TeacherEvaluationDO> list);

    PageResult<TeacherEvaluationRespVO> convertPage(PageResult<TeacherEvaluationDO> page);

    List<TeacherEvaluationExcelVO> convertList02(List<TeacherEvaluationDO> list);

}
